package com.example.initproj.base.result

/**
 * @author xiang
 * @Date 2022/8/25 23:08
 **/
inline val SUCCESS
    get() = AError(0, "success")
inline val ERROR_UNKNOWN
    get() = AError(-1, "unknown")
inline val PARAMS_NULL
    get() = AError(-2, "缺少必填参数")
inline val SESSION_ERROR
    get() = AError(-3, "session失效")
inline val CONSTRAINT_ERROR
    get() = AError(-4, "约束冲突")